projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3656a81
)
Fix the build with mingw.org's MinGW
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 4 Jun 2024 16:12:38 +0000
(19:12 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 4 Jun 2024 16:12:38 +0000
(19:12 +0300)
The change in boot-time.c imported from Gnulib broke the
MinGW build using mingw.org's MinGW. It is wrong to include
sysinfoapi.h, MS documentation says to include <windows.h>.
* lib/boot-time.c: Don't include sysinfoapi.h.
lib/boot-time.c
patch
|
blob
|
history
diff --git
a/lib/boot-time.c
b/lib/boot-time.c
index 71562dcf751af3ca05d903e319d75f997f7776ee..515fc48069a4757eab92753cbce9bf33a4b77e09 100644
(file)
--- a/
lib/boot-time.c
+++ b/
lib/boot-time.c
@@
-46,7
+46,6
@@
#if defined _WIN32 && ! defined __CYGWIN__
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
-# include <sysinfoapi.h>
# include <sys/time.h>
#endif